package com.ll.SchoolSafe.Service.Impl;

import com.ll.SchoolSafe.Dao.SafeEducationDao;
import com.ll.SchoolSafe.Service.SafetyService;
import com.ll.SchoolSafe.pojo.Safety;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SafetyServiceImpl extends ServiceImpl<SafeEducationDao, Safety> implements SafetyService {
    @Autowired
    private SafeEducationDao safeEducationDao;
    public void addReadCount(Integer safetyId) {
        safeEducationDao.addReadCount(safetyId);
    }
}
